package face.pay.common.enterprise.service;

import face.pay.entity.EnterpriseInfo;
import face.pay.entity.MchApplymentInfo;
import face.pay.entity.UserInfo;
import face.pay.entity.WeChatMchInfo;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;


/**
 * @Auther: zkj
 * @Date: 2019/8/29 12:11
 * @Description:
 */
public interface IMchMediaBaseServcice {

    public ResultMessage mediaload(WeChatMchInfo enterpriseInfo, byte[] bytes,String fileName, String keyName, UserInfo loginUser) throws  Exception;

    byte[]  getMedia(String mediaId, UserInfo loginUser);

    ResultMessage subinfo(WeChatMchInfo weChatMchInfo, UserInfo loginUser) throws  Exception;

    public PageData<MchApplymentInfo> queryPage(MchApplymentInfo mchApplymentInfo, PageParam pageParam, UserInfo loginUser);

    ResultMessage checkStatus(MchApplymentInfo mchApplymentInfo, UserInfo loginUser);
}
